/**
 * 
 */
package gov.nih.nlm.lowlinc.core;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;

/**
 * @author Tomasz Adamusiak
 * 
 */
public class Sandbox {
	private static final Logger log = Logger.getLogger(Sandbox.class);

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
	}

	@Test
	public void test() {
		Map<String, List<String>> testMap = new HashMap<>();
		List<String> testList = new ArrayList<>();
		testList.add("test");
		testMap.put("test", testList);
		log.info(testMap);
		modifyMap(testMap);
		log.info(testMap);
	}

	private static void modifyMap(Map<String, List<String>> map) {
		map.get("test").add("test");
	}

}
